package com.yunpeng.aidevice.common.vo.org;

import java.io.Serializable;
import java.util.Date;

/**
 * OrgPermissionVO 组织机构权限视图
 *
 * @author : Moore(hemw)
 * @date : 2020-04-15
 */
public class OrgPermissionVO implements Serializable {

    /**
     * 组织机构代码
     */
    private String organizationCode;

    /**
     * 组织机构名称
     */
    private String organizationName;


    /**
     * 权限代码
     */
    private String permissionCode;

    /**
     * 权限名称
     */
    private String permissionName;

    /**
     * 起始生效时间
     */
    private Date startDate;

    /**
     * 生效截止时间
     */
    private Date endDate;

    public OrgPermissionVO(String organizationCode, String organizationName, String permissionCode, String permissionName, Date startDate, Date endDate) {
        this.organizationCode = organizationCode;
        this.organizationName = organizationName;
        this.permissionCode = permissionCode;
        this.permissionName = permissionName;
        this.startDate = startDate;
        this.endDate = endDate;
    }

    public String getOrganizationCode() {
        return organizationCode;
    }

    public void setOrganizationCode(String organizationCode) {
        this.organizationCode = organizationCode;
    }

    public String getOrganizationName() {
        return organizationName;
    }

    public void setOrganizationName(String organizationName) {
        this.organizationName = organizationName;
    }

    public String getPermissionCode() {
        return permissionCode;
    }

    public void setPermissionCode(String permissionCode) {
        this.permissionCode = permissionCode;
    }

    public String getPermissionName() {
        return permissionName;
    }

    public void setPermissionName(String permissionName) {
        this.permissionName = permissionName;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    @Override
    public String toString() {
        return "OrgPermissionVO{" +
                "organizationCode='" + organizationCode + '\'' +
                ", organizationName='" + organizationName + '\'' +
                ", permissionCode='" + permissionCode + '\'' +
                ", permissionName='" + permissionName + '\'' +
                ", startDate=" + startDate +
                ", endDate=" + endDate +
                '}';
    }
}
